/*
 * @Description: Description
 * @Author: wning
 * @Date: 2022-12-01 16:22:31
 * @LastEditors: Andy
 * @LastEditTime: 2023-01-13 17:37:40
 */

import i18n from '@/common/lang'

// 数据表格内数据列
export const columns = [
  {
    label: i18n.t('organization.organiz.name'),
    width: 'auto',
    prop: 'orgName',
    // fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.organiz.code'),
    width: 'auto',
    prop: 'orgCode',
    // fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.organiz.type'),
    width: 'auto',
    prop: 'orgType',
    // fixed: true,
    align: 'center'
  },
  {
    label: i18n.t('organization.organiz.toStart'),
    minWidth: 110,
    width: 'auto',
    prop: 'state',
    align: 'center'
  }
]
// 数据表格操作列
export const actions = [
  {
    key: 'edit',
    text: i18n.t('common.edit'),
    permissions: 'upms:org:update'
  },
  {
    key: 'delete',
    text: i18n.t('common.delete'),
    permissions: 'upms:org:delete'
  }
]
